import request from '@/utils/request'
<<<<<<< HEAD
export function login(data) {
  return request({
    url: `/platapi/plat/login`,
    method: 'post',
    requestBaseUrl: 'outside',
    data: {
      UserName: data.username,
      Passwrod: data.password
    }
  });
}
// 即时通讯登录
export function getLogin(account) {
  return request({
    url: `/im-end-web/api/v1/account/login/${account}/2`,
    method: 'get',
  });
}

// 页面访问日志
export function log(data) {
  return request({
    url: "/api/v1/pageVisitLog/save",
    requestBaseUrl: 'outside',
    method: "post",
    data
  })
}
=======
export function login (data) {
    return request({
      url: `/platapi/plat/login`,
      method: 'post',
      requestBaseUrl: 'outside',
      data: {
        UserName: data.username,
        Passwrod: data.password
      }
    });
  }
  // 即时通讯登录
  export function getLogin(account) {
    return request({
      url: `/im-end-web/api/v1/account/login/${account}/2`,
      method: 'get',
    });
  }

  // 页面访问日志
  // export function log(data){
  //   return request({
  //     url:"/api/v1/pageVisitLog/save",
  //     requestBaseUrl: 'outside',
  //     method:"post",
  //     data
  //   })
  // }

  // 接口调用日志
  // export function apiLog(data){
  //   return request({
  //     url:"/api/v1/interfaceCallLog/save",
  //     requestBaseUrl: 'outside',
  //     method:"post",
  //     data
  //   })
  // }
  
>>>>>>> b81dd856e8286dc3c4469fe464d7cb70decd559d
